﻿using System;

namespace CloudTaobao
{
    public delegate void GetItemFinishedEventHandler(object source, GetItemFinishedEventArgs args);
    public delegate void GetItemBriefFinishedEventHandler(object source, GetItemFinishedEventArgs args);
    public delegate void GetItemDetialFinishedEventHandler(object source, GetItemFinishedEventArgs args);
    public delegate void StartLoadingEventHandler(object source, StartLoadingEventArgs args);
    public delegate void EndLoadingEventHandler();
    public delegate void AutoLoginFinishedEventHandler();
    public delegate void GotoMainPageEventHandler();
    public delegate void GotoLoginEventHandler();
    public class Events
    {

    }
    public class GetItemFinishedEventArgs : EventArgs
    {
        public Item item = new Item();
        public GetItemFinishedEventArgs()
        { }
        public GetItemFinishedEventArgs(Item myitem)
        {
            this.item = myitem;
        }
    }
    public class StartLoadingEventArgs : EventArgs
    {
        public string loadingMsg = "";
        public StartLoadingEventArgs()
        { }
        public StartLoadingEventArgs(string loadingMsg)
        {
            this.loadingMsg = loadingMsg;
        }
    }
}
